package org.cqust.backend.repository.mission;

import org.cqust.backend.entity.mission.attempt.MissionStepAttempt;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MissionStepAttemptRepository extends JpaRepository<MissionStepAttempt, Long> {
    boolean existsByStepVersionId(long stepVersionId);

    List<MissionStepAttempt> findAllByMissionAttemptId(Long missionAttemptId);
}
